package com.example.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Long id) {
        return "fallback method: paymentInfo_OK, id:" + id;
    }

    @Override
    public String paymentInfo_timeout(Long id) {
        return "fallback method: paymentInfo_timeout, id:" + id;
    }
}
